package org.chen.mvc.handler;

import org.chen.mvc.annotation.GetMapping;
import org.chen.mvc.annotation.PostMapping;
import org.chen.mvc.annotation.RequestMapping;
import org.chen.mvc.annotation.RequestMethod;
import org.chen.mvc.exception.MethodNotAllowedException;
import org.chen.mvc.exception.NotFoundException;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;

/**
 * @author Chen
 * @since 2023/6/8 14:20
 */
public class GetRequestHandler extends RequestHandler {

    @Override
    void checkMethod(Method method) {
        super.checkMethod(method,RequestMethod.GET);
    }
}
